﻿using IDAL;
using Microsoft.EntityFrameworkCore;
using Models;
using System;
using System.Collections.Generic;
using System.Text;

namespace DAL
{
    /// <summary>
    /// 商品类别表
    /// </summary>
    public class ProductTypeDAL : BaseDeleteDAL<ProductType>, IProductTypeDAL
    {
        private UnmanContexts _unmanContext;

        public ProductTypeDAL(
            UnmanContexts unmanContexts
            ) : base(unmanContexts)
        {
            _unmanContext = unmanContexts;
        }

        

        public DbSet<ProductType> GetProductType()
        {
            return _unmanContext.ProductType;
        }
    }
}
